package org.pearl.springboot.minio.config;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum PolicyType {

    /**
     * 只读
     */
    ONLY_READ("read", "只读"),

    /**
     * 只写
     */
    ONLY_WRITE("write", "只写"),

    /**
     * 读写
     */
    READ_WRITE("read_write", "读写");

    /**
     * 类型
     */
    private String type;
    /**
     * 策略
     */
    private String policy;

}